package mobi.richaze.llbag.domain.service.account;

import java.util.List;

import javax.annotation.Resource;

import mobi.richaze.llbag.domain.model.account.Account;
import mobi.richaze.llbag.domain.model.account.AccountRepository;

import org.springframework.stereotype.Service;

@Service("AccountServicePojo")
public class AccountServicePojo implements AccountService {

	@Resource(name = "AccountRepositoryHibernate")
	AccountRepository accountRepository;

	public List<Account> getUsernameList() {
		List<Account> accounts = accountRepository.getUsernameList();
		return accounts;
	}

}
